<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::group(['prefix'=>'','namespace'=>'WeChat'], function () {
    Route::get('/', function (){
        return view('index');
    });//首页

    //微信交互
    Route::any('/wechat', 'WeChatController@serve');

    //开发使用
    Route::get('clear', 'WeChatAuthController@orderTruncate');//数据重置
    Route::get('getLog', 'WeChatAuthController@getLog');//日志
    Route::get('test', 'WeChatAuthController@test');//测试


});

